package com.lswms.service;

import java.util.List;

import com.lswms.common.service.CrudService;
import com.lswms.dto.YnLotteryTicketActivityDTO;
import com.lswms.dto.vo.req.RandomNumlReq;
import com.lswms.dto.vo.req.SaveNumReq;
import com.lswms.dto.vo.resp.ForecastLuckResp;
import com.lswms.dto.vo.resp.IndexNewRewardResp;
import com.lswms.dto.vo.resp.QuerySignResp;
import com.lswms.dto.vo.resp.RandomNumResp;
import com.lswms.entity.YnLotteryTicketActivityEntity;
import com.lswms.entity.YnUserEntity;

/**
 * 彩票活动表
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2020-06-20
 */
public interface YnLotteryTicketActivityService extends CrudService<YnLotteryTicketActivityEntity, YnLotteryTicketActivityDTO> {

	/**
	 * 查询是否弹框
	 * @return
	 */
	public IndexNewRewardResp queryIndexNewReward(YnUserEntity ynuser);

	/**
	 * 领取奖励
	 * @param ynuser
	 */
	public void receiveNewReward(YnUserEntity ynuser);
	/**
	 * 预测运气
	 * @param ynuser
	 * @return
	 */
	public ForecastLuckResp forecastLuck(YnUserEntity ynuser);
	/**
	 * 随机号码
	 * @param req
	 */
	public RandomNumResp randomNum(RandomNumlReq req);
	
}